﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YNCNumberSys.db;

namespace YNCNumberSys.DbDal
{
    public class statisticsDal
    {
        private CommandManager commandManager = new CommandManager();
        private ConnectionManager connectionManager = new ConnectionManager();
        public DataTable statistics()
        {
             string sql = string.Format(@"exec [dbo].[YNC_statistics]");
            return commandManager.ExecuteNonQuery(connectionManager.getConnection(), sql, @"空号分布统计");
        }
    }
}
